package com.pzhu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName online
 */
@TableName(value = "online")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Online implements Serializable {
    /**
     *
     */
    @TableId
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /**
     *
     */
    private Integer onlinecount;

    /**
     *
     */
    private Integer logincount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}